<template>
  <div class="cell">
    <div class="left">{{ title }}</div>
    <div class="right">
      {{ desc }}
      <van-icon name="arrow" />
    </div>
  </div>
</template>
<script>
export default {
  props: {
    title: {
      type: String,
      default: "标题",
      required: true,
    },
    desc: {
      type: String,
    },
  },
};
</script>
<style lang="less">
.cell {
  height: 60px;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  align-items: center;
  border-bottom: 1px solid #ccc;
  .left {
    font-size: 16px;
  }
  .right {
    font-size: 12px;
    color: #999;
  }
}
</style>
